package com.hb.trans.mvp.ui.activity

import android.os.Bundle
import com.basiclib.base.BaseActivity
import com.basiclib.inter.IPresenter
import com.basiclib.utils.L
import com.hb.trans.R
import com.hb.trans.mvp.presenter.MainPresenter
import dagger.android.AndroidInjection
import javax.inject.Inject

class  DaggerAndroidActivity : BaseActivity() {
    @Inject
    lateinit var mPresenter: MainPresenter

    override fun getPresenter(): IPresenter<*>? = mPresenter

    override fun getContentViewResId(): Int = R.layout.activity_test

    override fun onActivityInject() {
        AndroidInjection.inject(this)
    }

    override fun attachView(savedInstanceState: Bundle?) {
        L.d(TAG, "JJJ")
    }

    override fun initView() {
    }

    override fun initData() {
    }


}